package com.sairobo.admin.modules.srblive.service;

import java.io.IOException;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import com.sairobo.base.common.entity.Page;
import com.sairobo.base.common.entity.R;
import com.sairobo.admin.modules.srblive.entity.SrbliveFileEntity;
import com.sairobo.admin.modules.srblive.pojo.param.PPTParam;
import org.springframework.web.multipart.MultipartFile;

/**
 * 文件目录
 *
 * @author admin
 * @email sairobo
 * @url www.sairobo.com
 * @date 2018年1月09日 上午10:41:05
 */
public interface SrbliveFileService {

	Page<SrbliveFileEntity> listSrbliveFile(Map<String, Object> params);
	
	R saveSrbliveFile(SrbliveFileEntity srbliveFile);
	
	R getSrbliveFileById(Long id);
	
	R updateSrbliveFile(SrbliveFileEntity srbliveFile);
	
	R batchRemove(Long[] id);

	R multiUpload(HttpServletRequest request, MultipartFile file, PPTParam param) throws IOException, InstantiationException, IllegalAccessException;
	
}
